Release 10.1A: OpenEdge Data Management:
Database Administration
Monitoring AI file status
You must monitor the status of the AI extents. The AI extent status can be one of the following:
- Empty — When an AI extent is empty, it is available for use.
- Busy — When an AI extent is busy, it is currently in use.
- Full — When a busy AI extent fills up, an extent switch occurs: the state of the AI extent changes to full and the next AI extent becomes busy.
- Locked — When running Fathom™ Replication, a full extent is locked until the contents of the extent have been replicated to the target database. When the data is replicated, the extent is unlocked and marked Full.
- Archived — When running Fathom Replication, and AI File Management, an extent that was locked, and has been archived by the AI File Management Utility, is marked as archived until Fathom Replication finishes replicating the extent. Fathom Replication will change the status of an archived extent to empty when the replication is finished.
There are three ways to determine the status of your AI files:
- RFUTIL AIMAGE EXTENT LIST
Use RFUTIL AIMAGE EXTENT LIST to display information about each extent, including status:
This command returns no information if after-imaging is disabled. For more information, see the description of the AIMAGE EXTENT LIST utility in Chapter 22, " RFUTIL Utility."
- PROMON
Use PROMON
R&D
Status Displays
AI Extents to display information about each extent, including status:
- RFUTIL AIMAGE QUERY
The AIMAGE QUERY qualifier to RFUTIL provides you with a tool to query the status of a specified AI extent. The output of AIMAGE QUERY is intentionally brief. For most queries, the result returned will be a single number or word. The output is designed to be easily incorporated into scripts for managing your after-imaging.
Use the following command to query an AI extent:
The
query-optionspecifies the information you want to gather about the AI extent. Thesearch-optionspecifies the how you are identifying the AI extent to query. Thesearch-valuespecifies the match criteria for thesearch-option. For example, if you want to know when after-imaging starting writing to a particular extent, identified by its sequence number, use the following command:
The output returned is the date:
If you want all the information about an extent, specified by its name, use the following command:
The output returned is as follows:
For more complete syntax detains, including the
query-optionandsearch-optionvalues, see "RFUTIL AIMAGE QUERY qualifier" section.RFUTIL AIMAGE EXTENT FULL displays the filename of the oldest full file. You can then use this information to archive extents in the order in which they were filled. Although there might be multiple full files, this command displays the pathname of the oldest full file:
For more information, see the "RFUTIL AIMAGE EXTENT FULL qualifier" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |